let proEnv = require("@/config/pro.env"); // 生产环境
let testEnv = require("@/config/test.env"); // 测试环境
let devEnv = require("@/config/dev.env"); // 本地环境

const env = process.env.NODE_ENV; //当前环境
let uploadUrl = ""; //路径

if (env === "production") {
  uploadUrl = proEnv.UPLOAD_URL;
} else if (env === "test") {
  uploadUrl = testEnv.UPLOAD_URL;
  console.log("开发环境");
  uploadUrl = devEnv.UPLOAD_URL;
}
export default uploadUrl